<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>收到的投递</title>
    <link rel="icon" type="image/png" href="/img/icon.png">
    <link rel="stylesheet" type="text/css" href="../../datepicker/jquery-ui.min.css">
    <link rel="stylesheet" type="text/css" href="../../css/app.css">
    <link rel="stylesheet" type="text/css" href="../../css/index.css">
    <script type="text/javascript" src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="/h5/js/all.js"></script>
    <link rel="stylesheet" type="text/css" href="/h5/css/all.css">
</head>
<body style="font-size: 12px;">
<!--
    制作者：九哥
    页面：岗位页面
    时间：2019-03-01
-->





<!----------岗位页面---------->
<div id="jobPage"><!--此ID页面切换用-->
    <div id="jobTitle">
        <b>收到的投递</b>
        <img src="../../images/return.png" id="jobRtn"
             onclick="history.go(-1);">
    </div>
    <div id="jobDetail">


    </div>

</div>
<!----------岗位页面---------->





<!----------错误提示---------->
<div id="errMsg"></div>
<!----------错误提示---------->
</body>
<!--<script type="text/javascript" src="../../js/indexPageChange.js"></script>-->
<!--<script type="text/javascript" src="../../js/index.js"></script>-->
<script type="text/javascript" src="../../js/cache.js"></script>
<script type="text/javascript" src="../../js/app.js"></script>
</html>

<script type="text/javascript">
    var list=new MC.Page("#jobPage",'zhaopin_yplist',{id:MC.get('id')},
        function(resData,page){
            if(page==0&&resData.length==0){
                var h = '';
                h += '<table class="toJobShow">';
                h += '<tr>';
                h += '<td colspan="2" style="text-align:center;">没有信息</td>';
                h += '</tr>';
                h += '</table>';
                $('#jobDetail').html(h);
                $('.btn').hide();
                getAppErrMsg(res.msg,'',0);
                return;
            }else{
                var h='';
                for (var i in resData) {
                    h += '<table class="toJobShow">';
                    h += '<tr class="clearfix getJobShow" >';
                    h += '<td class="headDiv" width="60">';

                        h += '<img src="'+resData[i].user.head+'" width="40">';

                    h += '</td>';
                    h += '<td class="jobName"><span class="name">'+resData[i].user.name+'</span><a class="button tongzhi">通知Ta来应聘</a></td>';
                 //   h += '<td class="caozuo"><a class="button tongzhi">通知Ta来应聘</a></td>';
                    h += '</tr>';
                    h += '<tr class="clearfix">';
                    h += '<td>状态</td>';
                    h += '<td class="right">'+resData[i].status+'</td>';
                    h += '</tr>';
                    h += '<tr class="clearfix">';
                    h += '<td>学历</td>';
                    h += '<td class="right">'+resData[i].user.education+'</td>';
                    h += '</tr>';

                    h += '<tr class="clearfix">';
                    h += '<td>姓名</td>';
                    h += '<td class="right">'+resData[i].user.xingming+'</td>';
                    h += '</tr>';

                    h += '<tr class="clearfix">';
                    h += '<td>性别</td>';
                    h += '<td class="right">'+resData[i].user.sex+'</td>';
                    h += '</tr>';


                    h += '<tr class="clearfix">';
                    h += '<td>期望月薪</td>';
                    h += '<td class="right">¥'+resData[i].user.salary+'元</td>';
                    h += '</tr>';



                    h += '<tr class="clearfix">';
                    h += '<td>投递时间</td>';
                    h += '<td class="right">'+resData[i].created_at+'</td>';
                    h += '</tr>';

                    h += '</table>';
                }
                $('#jobDetail').append(h);
            }
        });
    list.init();

</script>